//
//  CRPlayerManager.h
//  CRChatRoom
//
//  Created by CuiFengshuai on 15/11/29.
//  Copyright © 2015年 SecondGroup. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CRPlayerManager : UITableViewHeaderFooterView

@property (nonatomic, assign) BOOL isPlaying;

+ (CRPlayerManager *) defaultManager;
/**
 *  根据网址播放
 *
 *  @param urlStr 网址
 */
- (void)playWithUrlStr:(NSString *)urlStr view:(UIView *)view;
/**
 *  开始播放
 */
- (void)didToPlay;
/**
 *  停止播放
 */
- (void)didToStop;

@end
